package org.yzhang3.data.common;

import java.util.zip.ZipException;

public class CompressorAdapter implements FileCompressible, TextCompressible {

	@Override
	public void compressFile(String sourcePath, String targetPath) throws ZipException {
		throw new ZipException("Unspport to compress file!");
	}

	@Override
	public void decompressFile(String sourcePath, String targetPath) throws ZipException {
		throw new ZipException("Unspport to decompress file!");
	}

	@Override
	public String compressText(String originalText) throws ZipException {
		throw new ZipException("Unspport to compress text!");
	}

	@Override
	public String decompressText(String compressedText) throws ZipException {
		throw new ZipException("Unspport to decompress text!");
	}

}
